QT -= gui

CONFIG += c++11 console
CONFIG -= app_bundle

TARGET = lvglsim
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

INCLUDEPATH += ./ G:/misc/lvgl G:/misc/lvgl/lvgl-8.1.0 G:/misc/lvgl/SDL2-2.0.18/i686-w64-mingw32/include

LIBS += -L"G:/misc/lvgl/simulator-8x_qtcreator"
LIBS += -llvgl8 -lSDL2 -lm

DEFINES += LV_CONF_INCLUDE_SIMPLE LV_LVGL_H_INCLUDE_SIMPLE LV_DEMO_CONF_INCLUDE_SIMPLE

SOURCES += \
    main/main.c \
    main/mouse_cursor_icon.c \
    ../lv_drivers/sdl/sdl.c \
    ../lv_demos/src/lv_demo_widgets/lv_demo_widgets.c \
    ../lv_demos/src/lv_demo_widgets/assets/img_clothes.c \
    ../lv_demos/src/lv_demo_widgets/assets/img_demo_widgets_avatar.c \
    ../lv_demos/src/lv_demo_widgets/assets/img_lvgl_logo.c

HEADERS += \
    lv_conf.h \
    lv_demo_conf.h \
    lv_drv_conf.h \
    ../lv_drivers/sdl/sdl.h \
    ../lv_demos/src/lv_demo_widgets/lv_demo_widgets.h

